package com.songshu.sb.dto;

/**
 * 定义业务异常
 */
public class BusinessException extends RuntimeException{

    private final Integer code;

    public Integer getCode() {
        return code;
    }

    public BusinessException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
